package cn.cdeden.knowledge.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * 个人对话历史表
 */
@Data
@TableName(value = "personal_chat_history")
public class PersonalChatHistory {
    /**
     * 主键ID
     */
    @TableId(value = "chat_id", type = IdType.AUTO)
    private Long chatId;

    /**
     * 对话标题
     */
    @TableField(value = "title")
    private String title;

    /**
     * 对话内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 创建人
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
}
